home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
clipper
/
subntx2.zip
/
READ.ME
< prev
next >
Wrap
Text File
|
1990-05-24
|
2KB
|
45 lines
Thanks for your offer to play with SubNtx() on a network.....
One way to do some simple testing on a network is to experiment with the
newest SUBROWSE.PRG from the command line.
SUBROWSE will automatically attempt to lock the main index 3 times, once a
second. By passing an addittional paramter at the end.
Remember there is an extra parameter at the beginning of SUBROWSE which is
the name of the dbf file. (Note: this is different from subntx() and
also note the dbf and index don't require extensions on the command line of
SUBROWSE.EXE) Here is the syntax for SUBROWSE.EXE:
SUBROWSE <dbfname> <main_indexname> <low_key> [<high_key> [<pattern>
[<condtion> [<num_tries_to_lock>]]]]
<num_tries_to_lock> == -1 means infinite tries,
0 means don't try to lock it,
any other number means try that many times.
To test the multiuser features, all you really need to do is use the 3
required parameters (dbfname, indexname, lowkey), and then if that works ok,
try passing dummy null strings to the others except the last
<num_of_tries_to_lock>. On that parameter try some different values
like -1, 0, or any positive number.
If there is a way to make sure the main index is locked (like indexing on
one workstation), then it would be good to run subrowse on a different
workstation at the same time to make sure it works right. If subrowse gets
an error of some kind, it prints it to the screen. -7 should mean it
couldn't lock the index.
Thanks...let me know of any questions or problems (or successes)...
{Skip}
615-899-1285 CIS 73377,710